home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / misc / math / Matrix.readme < prev    next >
Text File  |  1998-05-05  |  3KB  |  67 lines

  1. Short:    A small cli program which solves matrixes.    solver vbcc harlock
  2. Author:   harlock@tso.cin.ix.net
  3. Uploader: harlock@tso.cin.ix.net
  4. Version:  .2
  5. Type:     misc/math
  6.  
  7. This is a program which I wrote for my computer science class.  I'm
  8. uploading it to aminet because it works well, and I thought somebody out
  9. there might like it.  It works on all of the matrixes I've
  10. thrown at it.  The only time it'll spit up garbage is if the numbers
  11. start to exceed the maximum for a float value, (something like 3.4e38
  12. so it isn't very likely.).  I'm includeing the source code for anyone
  13. who wants to attempt to modify it for their own purposes.  After I've
  14. fixed it up to my satisfaction, I'm going to convert this algorythem
  15. to a function and upload it to the dev/c section of aminet also.  Programmers
  16. can then use it in their own programs, (should they feel the need).
  17.  
  18. NOTES, THIS IS A CLI COMMAND, I think it will run if clicked on from
  19.        WorkBench, but don't count on it.  You shouldn't have to
  20.        modify the stack value, but if it crashes, and there's no
  21.        apperent reason, try setting the stack value of the CLI up a
  22.        little, (ie. STACK=40000).
  23.  
  24. NOTES ON COMPILING, This program was written in C, and was compiled
  25.                     useing vbcc.  vbcc is freely available on aminet
  26.                     and this program will compile under the aminet
  27.                     version without any additional files.
  28.  
  29.                     vc -+ -lmieee -lextra matrix.c -o matrix
  30.  
  31.                     shoud do the trick if you have the package set up
  32.                     properly.
  33.  
  34.                     I have used one non-standard function called getch().
  35.                     If you wish to compile this source with another
  36.                     compiler (ie Dice, gcc, Sas-C), change all the
  37.                     getch() functions to getchar().  The executable won't
  38.                     work exactly the way it was intended, but it
  39.                     should allow you to compile a working version.
  40.  
  41. FUTURE, There are a couple of things I'de like to add to this program
  42.         before I say it is the "full" version.  I'de like to add a
  43.         routine that will reduce the numbers in the matrixes on the
  44.         fly while it is being solved.  This would make it nearly
  45.         impossible to give the program numbers that were to large
  46.         for it to handle, and also, the possibility of solveing matrixes
  47.         of enourmous size would also be possible, (ie 99x100 would not
  48.         be inconceivable).  
  49.  
  50. FAR FUTURE, I don't know much about amiga specific programming.  I'm
  51.             trying to learn, but it is slow going.  If I ever master
  52.             it, I wouldn't mind giving this program a nice gadtools
  53.             2.x, 3.x look.  For now, unless someone volunteers to
  54.             give it a gui, it will remain a shell command.
  55.             
  56.  
  57.  
  58. ============================= Archive contents =============================
  59.  
  60. Original  Packed Ratio    Date     Time    Name
  61. -------- ------- ----- --------- --------  -------------
  62.    19040    8801 53.7% 29-Apr-98 15:32:14  Matrix
  63.     3753     900 76.0% 29-Apr-98 15:31:00  Matrix.c
  64.     2868    1352 52.8% 29-Apr-98 15:46:12  Matrix.readme
  65. -------- ------- ----- --------- --------
  66.    25661   11053 56.9% 30-Apr-98 01:15:38   3 files
  67.